package com.hspedu.innerclass_;

public class InnerClass01 {
    public static void main(String[] args) {
        Outer outer = new Outer();
        outer.m1();
    }
}

class Outer {
    private int n1 = 100;
    public void m1(){
        IA tiger = new IA(){
            public void cry() {
                System.out.println("tiger is crying");
            }
        };
        System.out.println(tiger.getClass());
    }
}

interface IA{
    void cry();
}

